package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.sql.Timestamp;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 课程操作日志表
 */
public class CourseOperateLog {
    private int id;
    private String name;
    private String operatelist;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    /* 操作时间 */
    private Timestamp operatetime;
    /* 日期 */
    private String date;
    /* 操作类型 */
    private String operatetype;
    /* 操作标记 */
    private String operateremark;

    public int getId() {
        return id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOperatelist() {
        return operatelist;
    }

    public void setOperatelist(String operatelist) {
        this.operatelist = operatelist;
    }

    public Timestamp getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(Timestamp operatetime) {
        this.operatetime = operatetime;
    }

    public String getOperatetype() {
        return operatetype;
    }

    public void setOperatetype(String operatetype) {
        this.operatetype = operatetype;
    }

    public String getOperateremark() {
        return operateremark;
    }

    public void setOperateremark(String operateremark) {
        this.operateremark = operateremark;
    }

    @Override
    public String toString() {
        return "Courseoperatelog{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", operatelist='" + operatelist + '\'' +
                ", operatetime=" + operatetime +
                ", date='" + date + '\'' +
                ", operatetype='" + operatetype + '\'' +
                ", operateremark='" + operateremark + '\'' +
                '}';
    }
}
